package com.example.demo.excel.valid;

/**
 * @author yg.zhao
 * @description 导入excel自定义异常类
 * @date 2022/12/12
*/
public class ExcelValidException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private int code;

    public ExcelValidException(String msg) {
        this(100, msg, null);
    }


    public ExcelValidException(int code, String msg) {
        this(code, msg, null);
    }

    public ExcelValidException(int code, String msg, Exception nestedEx) {
        super(msg, nestedEx);
        this.code = code;
    }
}

